systemd.user.services.<name>.enableStrictShellChecks
Enable running shellcheck on the generated scripts for this unit.
When enabled, scripts generated by the unit will be checked with
shellcheck and any errors or warnings will cause the build to
fail.
This affects all scripts that have been created through the
script, reload, preStart, postStart, preStop and
postStop options for systemd services. This does not affect
command lines passed directly to ExecStart, ExecReload,
ExecStartPre, ExecStartPost, ExecStop or ExecStopPost.
- Type
boolean- Default
config.systemd.enableStrictShellChecks- Declared
- <nixpkgs/nixos/modules/system/boot/systemd/user.nix>